package com.help.knowhelps.date;

import java.io.Serializable;

/* 协议格式
6.首页面用户定位问题点获取（方圆3km）
方法：get
url: location/detail
参数: longitude(float),
      latitude(float),
      distance(double)获取定位点距离，客户端定义，如1km就是1
返回值:
{result:0,
	questions:［
		{
			askId:long,
			userId:long,
			longitude:float,
			latitude:float,
			taskType:int,
			address:String,
			time:(1970),
			updateTime(1970),
			content:String,
			pictures:[
				{picture:(url)}
			]
		}
		]
	］	
}

 */

public class Question implements Serializable {

	private static final long serialVersionUID = 1L;

	public long getAskID() {
		return askID;
	}
	public void setAskID(long askID) {
		this.askID = askID;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public int getTaskType() {
		return taskType;
	}
	public void setTaskType(int taskType) {
		this.taskType = taskType;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
	public long getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(long updateTime) {
		this.updateTime = updateTime;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String[] getPictures() {
		return pictures;
	}
	public void setPictures(String[] pictures) {
		this.pictures = pictures;
	}
	
	private long askID;
	private long userId;
	private double longitude;
	private double latitude;
	private int taskType;
	private String address;
	private long time;
	private long updateTime;
	private String content;
	private String[] pictures;
	
	
}
